package main

import "fmt"

func main() {
	// var arrAge = [5]int{18, 20, 15, 22, 16}

	// var arrLazy = [...]int{5, 6, 7, 8, 22}

	//注：初始化得到的实际上是切片slice
	// var arrLazy2 = []int{5, 6, 7, 8, 22}

	var arrKeyValue = [5]string{3: "Chris", 4: "Ron"}

	//注：初始化得到的实际上是切片slice
	// var arrKeyValue2 = []string{3: "Chris", 4: "Ron"}

	for i := 0; i < len(arrKeyValue); i++ {
		fmt.Printf("Person at %d is %s\n", i, arrKeyValue[i])
	}
}
